<?php

namespace App\Http\Resources;

class Members extends Resource
{
    public function toArray($request)
    {
        return [
            'id'        => $this->id,
            'name'      => $this->nickname,
            'avatar'    => $this->avatar,
            "province"  => $this->province,
            "city"      => $this->city,
            "area"      => $this->area,
        ];
    }
}
